import request from "@/utils/request.js"



// 获取绩效列表
export const getjixiaoList = data => {
    return request({
        url: `/jxNotification/list`,
        data
    })
}
// 获取单条绩效列表
export function getOnejixiaoList(id) {
    return request({
        url: `/jxNotification/get/${id}`,
        method: 'GET',
        id
    })
}
// 获取当前登陆用户基本信息
export function getPeopleId() {
    return request({
        url: `/assess/common/get/user`,
        method: 'GET',
    })
}
// 修改通知状态为已读
export const setjixiao = data => {
    return request({
        url: `/jxNotification/edit`,
        method: 'PUT',
        data
    })
}